Apparatus and method for accurate pipeline surveying

ABSTRACT

A pipeline surveying system including a pipeline pig can accurately provide a pipeline profile after correlation with a previously determined GPS survey. An inertial measurement unit located in the pig determines a pipeline profile as it travels through the pipeline and correlates the measured profile with the GPS survey.

BACKGROUND OF THE INVENTION

[0001] A need arises in pipeline inspection applications to accurately determine the position of a mobile PIG (pipeline inspection unit) at all points along the course of a pipeline network. The position data allows pipeline features to be accurately located and catalogued, as well as allowing existing faults to be precisely pinpointed for maintenance purposes. The accurate pipeline position information is also useful when compared to similar data taken at an earlier time, and provides the means of identifying unusual pipeline distortions which are developing that may require remedial maintenance action.

[0002] The use of an inertial navigation system in a pipeline surveying application has the potential to significantly enhance the accuracy of the position data. However, due to the inherent error propagation characteristics of inertial navigation systems, it is necessary to provide periodic resets to maintain the position error at a level acceptable for the desired survey accuracy. This may be accomplished by the traditional method of utilizing a series of points on the pipeline having precisely known positions which may be used to update the inertial navigation system. This generally requires that time of passage of the PIG relative to a known reference point be made observable by a secondary means, such as by the detection of an electromagnetic signal. Still another method would use the inspection data to identify specific features, such as valves, that have known positions and which may be used as a source of precise position information suitable for aiding the inertial navigation solution. These two methods are somewhat limiting for a number of reasons. In the first method, a sufficient number of points must be established that allows position fixes at a rate which maintains the inertial navigation errors at an acceptably low level. Since each reference point must be surveyed, using GPS for example, a fairly high cost is associated with the survey of the reference points. In the second method, the distribution of the known pipeline features may be inadequate to provide the position fix frequency required for the desired survey accuracy.

[0003] Another approach, which is the basis of the present invention, establishes a series of position fixes by first continuously mapping the pipeline profile using GPS, and then identifying distinctive features, such as bends, that may be sensed by the inertial navigation system to provide a sequence of natural position fix opportunities. In general, pipelines have many such features prominent enough to be used for obtaining position fixes, so the fix frequency will be sufficient to allow the inertial navigation solution accuracy to be maintained at the desired level. Furthermore, obtaining the pipeline profile map using GPS is generally possible using conventional airborne surveying techniques, thereby providing a very efficient and economical approach to pipeline surveying. The use of ground-penetrating radar will allow even buried pipelines to be precisely surveyed. For marine pipelines, doppler sonar is the natural means by which a pipeline profile may be continuously mapped over its entire length.

SUMMARY OF THE INVENTION

[0004] An inertial navigation system on board the PIG traveling through the pipeline is used to continuously compute the geographic position of the PIG. Periodic position fixes becomes available through the dynamics sensed by the inertial navigation system that are correlated to a high degree with a series of pipeline distinctive features having precisely known locations, these features having been established by a GPS survey of the pipeline profile. The position fixes allow the inertial navigation system to be updated using a Kalman Filter, thus providing the highest accuracy possible in defining the 3-dimensional position of pipeline features and faults. The approach may be implemented either in real time, or off-line using stored inertial sensor, odometer, and GPS survey data. These elements are all combined in a unique manner to achieve highly accurate PIG position at all points along the course of a pipeline.

BRIEF DESCRIPTION OF THE DRAWINGS

[0005]FIG. 1 shows a system of GPS satellites together with radar on board a helicopter to map out the profile of a pipeline.

[0006]FIG. 2 shows a pipeline segment defined by GPS-surveyed points.

[0007]FIG. 3 shows the pipeline surveying system of the present invention.

[0008]FIG. 4 shows a PIG traveling through a pipeline segment and correlating its data with the GPS-surveyed data.

[0009]FIG. 5 shows a block diagram of the processing performed in the pipeline surveying system.

DETAILED DESCRIPTION OF THE PRESENT INVENTION

[0010] The operation of the system 1 takes place in two phases. FIG. 1 shows the first phase which defines the pipeline 12 profile, potentially in both horizontal and vertical planes, using a ground penetrating radar 14 from an aircraft 15, together with differential GPS techniques in satellites 16 to precisely establish the coordinates of all points along the course of the pipeline 12. From this, a series of distinctive pipeline features are identified and defined by their GPS-derived position coordinates (latitude, longitude, altitude), from which a set of profile parameters (curvature, heading, etc.) are derived as functions of the distance traveled from the start of the segment. This is illustrated in FIG. 2. The second phase is carried out as the PIG 1 traverses the pipeline network 12. The elements on-board the PIG 1, as shown FIG. 3, are:

[0011] An Inertial Measurement Unit (IMU) 2 consisting of a triad of gyros, a triad of accelerometers, and a digital processor that compensates the sensor outputs, and converts them into a form suitable for storage

[0012] An odometer 4 that measures the incremental distance traveled by the PIG along the course of the pipeline over successive intervals of time and a readout 8 tracks the output of the odometer 4.

[0013] A clock 6 which provides accurate absolute time to be used in the subsequent data processing phase as the means of synchronizing all of the recorded data.

[0014] A recording device 10 that allows the IMU, odometer, and clock outputs to be recorded at a rate sufficient for the needs of the subsequent data processing phase.

[0015] During this time, data from the inertial measurement unit 2 and the odometer 4 are used to establish a correlation with respect to each successive pipeline feature 18 as the PIG 1 approaches the feature 18, and then recedes from it. The correlation process establishes the error in the PIG position at each of the points 18, and allows the navigational solution to be optimally reset using a Kalman Filter 32.

[0016] A segment 22 on the order of 100 feet in length that is distinct, insofar as it undergoes a relatively large heading or pitch change (3 to 5 degrees), may be used. The curvature of the segment 22, as a function of the distance from the start of the segment 24, represents a convenient function that characterizes that particular segment 22. If, further, the distinctive pipeline segment 22 is defined via a finite number of GPS-derived latitude/longitude pairs, the location of the pipeline segment 22 is known in an absolute geographic sense as well. Therefore, if the curvature of the pipeline is measured at a later time by an IMU 2 traveling through the pipeline 12 on a mobile unit (PIG) 1, the means exists to infer the positions of the mobile unit 1 at a discrete number of points 18 along the pipeline 12 by correlating the two curvature functions.

[0017]FIG. 4 shows the pipeline correlation process used in the present invention. The known curvature functions associated with discrete pipeline segments 22, together with the same functions are determined directly from the inertial navigation system 1. The inertially-derived position 23 is used to enable the correlation process when the indicated PIG position 25 has a minimum distance from the starting point 24 of the distinctive pipeline segment 22. The correlation process establishes the correlation between the measured curvature 27 and the data-base curvature 26, each as a function of distance traveled. The correlation process continues until the indicated PIG position 29 has a minimum distance relative to the final point 28 of the pipeline segment 22. The correlation process will clearly define how the indicated position 23 of the PIG needs to be adjusted so that the two curvature functions 26, 27 have a maximum correlation. This, in turn, provides a PIG position fix that can be processed through a Kalman Filter 32 to correct the inertial solution so that optimally accurate attitude, velocity and position are provided. This process continues throughout the survey as each distinctive pipeline segment 22 is encountered.

[0018] A number of techniques to establish the pipeline data base are as follows:

[0019] (1) A detailed surveyor's map (made at the time the pipeline 12 is laid) may be used to define the locations of distinctive pipeline segments 22. A differential GPS survey of these distinct segments 22 may then be carried out, using a magnetic detector to locate the pipeline 12 in each region of interest.

[0020] (2) A preliminary run of the PIG 1 through the pipeline 12 may be used to identify distinctive segments 22 by means of heading change or curvature, with the approximate location of the distinctive features being determined by the navigation information generated during the preliminary run. A differential GPS survey may then be carried out in the region of each distinctive point 18, with a magnetic detector being used to locate the pipeline 12.

[0021] (3) Airborne radar mapping of the pipeline 12 (plan and vertical profile), from a helicopter 15 flying along the course of the pipeline 12, may be used to locate distinctive pipeline features. The helicopter position is established by differential GPS, and time correlated with the sequence of radar images to allow the precise location of distinctive pipeline features to be determined. Ground penetrating radar 14 can be used to identify both above-ground and below-ground segments of the pipeline 12, and can map the pipeline profile in both the horizontal and vertical planes.

[0022] (4) For undersea pipelines, the mapping of the pipeline may be achieved using a mapping sonar on-board a surface vessel. The use of differential GPS may be used to establish the position of the surface vessel at all times, which can be time-correlated with the sequence of sonar images to allow the location of distinctive pipeline features to be obtained.

[0023]FIG. 1 illustrates a pipeline profile mapping operation using a GPS (Global Positioning System) through satellites 16, together with a ground-penetrating radar 14 on-board a helicopter 15 traversing an underground pipeline 12. The precise GPS-derived position information is used to establish position coordinates (north, east, down) at all points 18 along the length of the pipeline 12, as defined by a series of radar images of the pipeline 12 occurring simultaneously with the series of GPS-derived positions. In general, to enhance the accuracy of the GPS-derived positions, differential GPS would normally be utilized. This allows position accuracies on the order of a centimeter. Inherent in the concept is the assumption that the helicopter flight path is controlled in real time to stay approximately centered over the pipeline 12 based on the radar image that is being registered by the ground-penetrating radar 14. The analogous situation for a marine pipeline would utilize sonar signals emitted by a surface craft which is receiving differential GPS signals on a continuous basis to precisely identify the positions associated with a series of sonar images of the submerged pipeline.

[0024]FIG. 2 depicts a segment 22 of a pipeline with a heading change illustrating a distinctive pipeline feature. The segment 22 is of sufficient magnitude to allow it to be used for subsequent identification by an IMU 2. The curvature of the segment 22, as a function of the distance from the start of the segment 24, will represent a function that characterizes that particular segment 22. As stated above, the distinctive pipeline segment 22 is defined via a finite number of GPS derived positions 18, and the location of the pipeline segment 22 is known in a geographic sense. Therefore, when the curvature of the pipeline 12 is measured at a later time by an IMU 2 traveling through the pipeline 12 on a mobile unit 1 (PIG), the means exist to indicate the positions of the mobile unit 1 at a discrete number of points 18 along the pipeline 12 by correlating the two functions.

[0025]FIG. 5 illustrates the PIG navigation system 1 using an inertial navigation solution 34 and known curvature functions associated with discrete pipeline segments 22 determined previously. An inertial navigation solution 34 is generated by processing the gyro 36 and accelerometer 38 outputs to arrive at a best estimate of position. The PIG latitude, longitude and altitude, together with the pipeline curvature, are computed as a function of odometer-derived distance traveled along the pipeline 12. When the indicated PIG position has reached the point of closest approach to the starting point 24 of a distinctive pipeline segment 22, a correlation process begins that utilizes the position and curvature derived by both the navigation system and the GPS-derived pipeline map. The correlation process continues until the indicated PIG position is beyond the position of the pipeline segment 22 by some fixed distance. The correlation process defines how the indicated position of the PIG 1 needs to be adjusted so that the two curvature functions have a maximum correlation. This correction in the inertial navigation system position coordinates is then utilized in the Kalman Filter 32 to reset the navigation solution 34. This process continues throughout the survey as each distinctive pipeline segment 22 is encountered. The preferred embodiment of the invention consists of both a hardware implementation and an information processing concept.

[0026] The hardware implementation of the concept consists of the following elements:

[0027] An Inertial Measurement Unit 2 (IMU) consisting of a triad of gyros 36, a triad of accelerometers 38, and a digital processor that compensates the sensor outputs, and converts them into a form suitable for processing by the navigation computer, or to be stored for later post-processing.

[0028] An odometer 40 that measures the incremental distance traveled by the PIG 1 along the course of the pipeline 12

[0029] The present invention can perform its operation with everything on board the PIG 1. However, the present invention has the option of off-line processing. In the event that off-line processing is to be carried out, the following additional elements are required.

[0030] A clock 6 which provides accurate absolute time to be used in the subsequent data processing phase as the means of synchronizing all of the measurements.

[0031] A recording device 10 that allows the IMU 2, odometer 4, and clock 6 outputs to be recorded at a rate sufficient for the needs of the subsequent data-processing phase.

[0032] The information processing concept used to derive precision PIG position at all points 18 along the course of the pipeline 12 network uses the outputs of the IMU 2 and odometer 4 systems recorded during the real-time phase of the pipeline survey, in combination with the reference-point positions derived from the GPS measurements obtained during the pipeline survey. The data processing consists of three major parts, as follows:

[0033] Inertial Navigation Solution 34—The IMU gyro 36 and accelerometer 38 data are integrated to provide a navigation solution 34 in the North/East/Down frame consisting of an attitude matrix and 3-dimensional velocity and position vectors. Each gyro 36 output consists of a sequence of incremental attitude angles, and each accelerometer 38 output consists of a sequence of incremental velocities. This operation is typically carried out at a nominal 50-hz iteration rate.

[0034] Optimal Filter 32—Since the navigation solution 34, consisting of the inertially derived attitude matrix, velocity vector, and position vector will be degraded over time due to sensor biases and random noise, aiding information must be periodically incorporated to correct the navigation solution 34. The correction applied to the solution 34 is derived using an optimal filtering approach, which utilizes information from position fixes. The optimal filter 32 produces corrections to the PIG attitude matrix, velocity vector, and position vector. This operation is carried out at a nominal iteration interval of 5 to 10 minutes for position measurement processing.

[0035] Pipeline Distinctive Feature Correlation 42—The pipeline distinctive feature data (curvature, heading change) can be correlated to the comparable data derived by the inertial navigation system to determine the position error in the inertial solution. The correlation process uses the curvature or heading of the pipeline 12, expressed as functions of the distance traveled from the start of the segment, as measured by an odometer 4 on board the PIG 1, to derive the errors in the inertial system north, east and down position coordinates.

[0036] Inertial Navigation Solution

[0037] The function of the Navigation Equation Module is to convert the recorded incremental angles and velocities from the inertial sensor triad into a PIG attitude matrix and velocity vector. The navigation solution 34 also requires a set of initial conditions, and a gravity model. In general terms, an inertial navigation system functions by continuously measuring the components of vehicle nongravitational acceleration and angular velocity in three orthogonal sensor reference axes and, simultaneously, integrating the set of differential equations defining vehicle attitude, velocity, and position that have these measurements as inputs. The errors in the navigation system's outputs arise principally from three sources: initial condition errors, errors in the inertial sensor measurements, and errors associated with the assumed earth gravity model.

[0038] In the pipeline surveying application, the navigation solution 34 is expressed in, a North/East/Down (NED) coordinate frame which is a standard reference frame. The navigation solution 34 is defined by an attitude matrix, that provides the transformation between the sensor reference frame and the NED frame, and a velocity vector. The equations solved in the Navigation Equation Module are the following:

C=C{ω}−{Ω+ρ}C  (1)

{dot over (V)}=CA−{2Ω+ρ}V+g  (2)

[0039] where

[0040] C=transformation matrix from sensor reference frame to local-vertical NED frame, with initial condition C(0)

[0041] V=velocity vector in NED frame, with initial condition V(0)

[0042] Ω=angular velocity vector of earth with respect to the inertial frame

[0043] ρ=angular velocity of local-vertical frame with respect to the earth reference frame

[0044] ω=angular velocity vector of sensor reference frame with respect to the inertial frame

[0045] A=nongravitational acceleration vector of vehicle

[0046] g=plumb-bob gravity vector

[0047] and the convention is used here and throughout that a quantity of the form, {v}, denotes the skew-symmetric matrix formed from the components, v_(i), of the enclosed vector, v.

[0048] The navigation solution 34 requires inputs from the earth rate vector,Ω, and the transport rate vector,ρ. The earth rate vector and the transport rate vector are computed by the following equations $\begin{matrix} {\Omega = {\begin{bmatrix} \Omega_{n} \\ \Omega_{e} \\ \Omega_{d} \end{bmatrix} = \begin{bmatrix} {\omega_{e}\cos \quad \lambda} \\ 0 \\ {{- \omega_{e}}\sin \quad \lambda} \end{bmatrix}}} & (3) \\ {\rho = {\begin{bmatrix} \rho_{n} \\ \rho_{e} \\ \rho_{d} \end{bmatrix} = \begin{bmatrix} {V_{e}/\left( {\mu_{e} + h} \right)} \\ {{- V_{n}}/\left( {\mu_{n} + h} \right)} \\ {{- V_{e}}\tan \quad {\lambda/\left( {\mu_{e} + h} \right)}} \end{bmatrix}}} & (4) \end{matrix}$

[0049] where

[0050] V_(n), V_(e)=north and east velocity components, respectively

[0051] Ω_(n),Ω_(e),Ω_(d)=earth-rate components in NED frame

[0052] ρhd n,ρ_(e),ρ_(d)=transport-rate components in NED frame

[0053] ω_(e)=earth's rotation rate relative to an inertial frame of reference

[0054] λ=geodetic latitude

[0055] μ_(n),μ_(e)=earth's principal radii of curvature in North and East directions

[0056] h=altitude

[0057] c_(ij)=elements of the attitude reference matrix, C

[0058] The position is defined by latitude, longitude and altitude from the solutions of $\begin{matrix} {\overset{.}{\lambda} = \frac{V_{n}}{\mu_{n} + h}} & (5) \\ {\overset{.}{\Lambda} = \frac{- V_{e}}{\left( {\mu_{e} + h} \right)\cos \quad \lambda}} & (6) \end{matrix}$

 {dot over (h)}=−V _(d)  (7)

[0059] where the following definitions apply

[0060] V_(d)=down velocity component

[0061] ζ=longitude

[0062] The solutions of equations (1) through (7) constitute the 3-dimensional attitude, velocity and position of the PIG 1 as it traverses the pipeline 12. These solutions are sent to a filter 32 and correlator 42 for further processing.

[0063] Optimal Filter

[0064] The function of the Optimal Filter Module is to process measurements consisting of the difference between quantities derived from the GPS-derived reference points, and the corresponding quantities derived from the navigation solution 34. The Kalman Filter 32 structure is such that all information is blended (i.e., integrated) in an optimal fashion, and is closely related to the more familiar concept of recursive least-squares estimation. The Kalman Filter 32 includes:

[0065] A model for the dynamic variations in the state (in the case of interest here, the errors in the inertial navigation solution for attitude and velocity, and position). This takes the form of a set of differential or difference equations

[0066] A model for the constant and random errors that act as the forcing functions to the dynamic state (in the case of interest here, gyro and accelerometer biases and random-walk errors)

[0067] A model for the constant and random errors that appear in the aiding information (in the case of interest here, the errors in the position measurement obtained from the GPS pipeline survey).

[0068] The outstanding attribute of the Kalman Filter 32 is that it allows all of the above elements to be accounted for in a very systematic and formalized way, which makes it ideal for implementation in a digital computer. A discussion of steps implicit in the operation of the Kalman Filter 32 follows.

[0069] Consider a system whose behavior is defined by the following set of discrete linear equations:

X _(n)=Φ_(n) X _(n) _(⁻¹) +B _(n)η_(n)  (8)

[0070] where

[0071] X=vector of states

[0072] η=vector of random (zero-mean) noise sequences

[0073] Φ=state transition matrix from (n−1)^(th) to n^(th) update points B_(n)=noise distribution matrix

[0074] For a given Φ and B, the state X will have a time variation determined by the particular noise sequence, η, and initial condition, X₀, which in general is taken to be a randomly distributed quantity. Since the noise sequence, η, has an infinite number of realizations, and the initial condition error can assume an infinite number of values, the system given by (8) has an infinite number of solutions. Because this is true, attention must be focused on the statistical behavior of Equation (8) rather than on specific solutions. The most natural and useful way of characterizing the behavior of (8) is to compute the statistical parameters that define the bounds on the state vector, X The statistical bounds on the components of X are found by solving the covariance matrix equation associated with (8), which takes the recursive form:

P _(n)=Φ_(n) P _(n) _(⁻¹) Φ_(n) ^(T) +B _(n) Q _(n) B _(n) ^(T)  (9)

[0075] where P is the error covariance matrix of the state vector, X, defined explicitly by:

[0076] P=[P_(ij)]

[0077] and

[0078] P_(ij)=E(x_(i)x_(j)) in which E denotes the expectation operator. It is seen that the individual variances of the components of X are defined by the diagonal elements of P, with the joint expectations being defined by off-diagonal elements of P. The matrix Q in (9) is the covariance matrix of the driving noise vector, η, defined by:

[0079] Q=[q_(ij)]

[0080] in which

[0081] q_(ij)=E(η_(i)η_(j))

[0082] Consider the case where the discrete process defined by (8) represents the true dynamic propagation characteristics associated with a given linear system. For this case, assume that a measurement is made at the nth measurement update time employing an external measuring device which allows a specific linear combination of the states to be directly monitored. A general way of stating this in mathematical terms is as follows:

y _(n) =H _(n) X+ζ _(n)  (10)

[0083] where

[0084] y_(n)=vector of measurements

[0085] H_(n)=measurement matrix at nth measurement update time

[0086] ζ_(n)=measurement noise vector applicable to n^(th) measurement

[0087] and it is assumed that a number of independent measurements become available simultaneously.

[0088] The optimal utilization of information introduced through a series of measurements of the form given by (10), to estimate the state vector X in a sequential fashion, is the central problem addressed by Kalman estimation theory, and has the following solution. After each measurement (of a sequence of measurements), the estimate of the state, X, is refreshed by the two-step procedure:

{circumflex over (X)} _(n) ⁻=Φ_(n) {circumflex over (X)} _(n−1)  (11)

{circumflex over (X)} _(n) ={circumflex over (X)} _(n) ⁻ +K _(n) [y _(n) −H _(n) {circumflex over (X)} _(n)]  (12)

[0089] where

[0090] {circumflex over (X)}_(n) ⁻=optimal estimate of vector X just before the nth measurement is processed

[0091] {circumflex over (X)}_(n)=optimal estimate of vector X immediately after nth measurement is processed

[0092] K_(n)=Kalman gain matrix at n^(th) measurement update

[0093] with K_(n), defined by

K _(n) =P _(n) ⁻ H _(n) ^(T)(H _(n) P _(n) ⁻ H _(n) ^(T) +R _(n))⁻¹  (13)

[0094] in which

[0095] P_(n) ⁻=apriori error covariance matrix of vector X

[0096] R_(n)=measurement noise error covariance matrix

[0097] and the apriori error covariance matrix, P_(n) ⁻, is computed from (9) over the interval

[0098] t_(n−1) to t_(n)

[0099] After processing the nth measurement, the error covariance matrix of the state X is modified to reflect the benefit of incorporating new information introduced by the measurement, by means of:

P _(n)=(I−K _(n) H _(n))P_(n) ⁻  (14)

[0100] where P_(n) is the aposteriori error covariance matrix. The form given by (14) is applicable when the Kalman Filter is fully optimal; that is, when it is a full-state filter in which all components of X are fully accounted for in the mathematical model and, further, are re-estimated after each successive measurement is made available. The error state for the inertial navigation system consists of 9 elements defining the errors in 3-dimensional attitude, velocity and position.

X=(ψ_(x), ψ_(y), ψ_(z) , δV _(x) , δV _(y) , δV _(z) , δR _(x) , δR _(y) , δR _(z))^(T)  (15)

[0101] where

[0102] ψ_(x), ψ_(y), ψ_(z)=components of attitude error vector in north/east/down frame

[0103] δV_(x), δV_(y), δV_(z)=components of velocity error vector in north/east/down frame

[0104] δR_(x), δR_(y), δR_(z)=components of position error vector in north/east/down frame

[0105] In addition, the Kalman Filter 32 may also contain a number of error states associated with the inertial sensors (gyros 36 and accelerometers 38). In the pipeline surveying application of interest, the measurement is of the position errors directly. For the case in which a 2-dimensional position fix is derived from the horizontal characteristics of a distinctive pipeline feature, the H matrix used in the Kalman Filter update is defined by

H=(0, 0, 0, 0, 0, 0, 1, 1, 0)  (16)

[0106] and y consists of the position errors at the terminal point of the pipeline segment $\begin{matrix} {y = \begin{bmatrix} {\delta \quad R_{x}} & (N) \\ {\delta \quad R_{y}} & (N) \end{bmatrix}} & (17) \end{matrix}$

[0107] where δR_(x) and δR_(y) are the derived position errors, and N designates the last GPS-derived point on the pipeline segment 22. The method by which the position errors are made observable is defined in the following discussion.

[0108] Pipeline Distinctive Feature Correlation

[0109] The correlator 42 correlates the real time measurements with the GPS survey to provide PIG position errors at discrete points 18 along the pipeline 12. Consider the 2-dimensional case in which the pipeline profile is defined in the horizontal plane. The distinctive pipeline segment 22 is defined by a series of points 18 whose positions (latitude, longitude) are precisely known from the GPS survey. This allows two functions to be derived, which define the north (x) and east (y) position coordinates of the pipeline 12 to be expressed in terms of the distance traveled (s) along the arc of the trajectory. This leads to the two relationships for x and y as follows

x=f(s)  (18)

y=g(s)  (19)

[0110] where f and g are known functions derived numerically from the sequence of GPS-derived points 18 defining the pipeline segment 22. The derivatives of x and y with respect to s may then be derived analytically by differentiating the functions f and g or, explicitly $\begin{matrix} {{x^{\prime}(s)} = \frac{{f(s)}}{s}} & (20) \\ {{y^{\prime}(s)} = \frac{{g(s)}}{s}} & (21) \end{matrix}$

[0111] The pipeline heading angle may be determined directly from the defining relationship $\begin{matrix} {{\tan \quad \psi} = \frac{y}{x}} & (22) \end{matrix}$

[0112] where v is the instantaneous pipeline heading angle and dy/dx is, in turn, defined by $\begin{matrix} {\frac{y}{x} = {\frac{{y}/{s}}{{x}/{s}} = \frac{y^{\prime}(s)}{x^{\prime}(s)}}} & (23) \end{matrix}$

[0113] The second derivative of x and y are determined from the relationships $\begin{matrix} {{x^{\prime\prime}(s)} = \frac{^{2}{x(s)}}{s^{2}}} & (24) \\ {{y^{\prime\prime}(s)} = \frac{^{2}{g(s)}}{s^{2}}} & (25) \end{matrix}$

[0114] where the second derivatives of f and g are determined by analytical differentiation of these functions. The second derivative of y with respect to x, which is needed in the determination of pipeline curvature, is derived as follows: $\begin{matrix} {{y^{''}(s)} = {\frac{y^{\prime}(s)}{\left\lbrack {x^{\prime}(s)} \right\rbrack^{2}}\left\lbrack {\frac{y^{''}(s)}{y^{\prime}(s)} - \frac{2{x^{''}(s)}}{x^{\prime}(s)}} \right\rbrack}} & (26) \end{matrix}$

[0115] Then the pipeline curvature is analytically derived from the following relationship $\begin{matrix} {{C(s)} = \frac{d^{2}{y/{x^{2}}}}{\left\lbrack {1 + \left( {{y}/{x}} \right)^{2}} \right\rbrack^{3/2}}} & (27) \end{matrix}$

[0116] The curvature may also be determined directly from the inertial system as follows

{tilde over (C)}(s)=Δψ(s)/Δs  (28)

[0117] where

[0118] {tilde over (C)}(s)=inertially derived curvature of pipeline as a function of distance traveled along the pipeline

[0119] Δψ(s)=measured heading angle change over a small segment of the pipeline, as a function of distance traveled along the pipeline

[0120] Δs=incremental distance traveled along pipeline measured by the odometer

[0121] The correlation process begins when the indicated PIG position has reached the point of closest approach to the position associated with the starting point 24 of the distinctive pipeline segment 22. The correlation process derives two components of position error, S and L, as illustrated in FIG. 4, that apply over the pipeline segment 22. The position error component, S, defines the error in the PIG position, as indicated by the inertial navigation solution 34, along the direction of travel, with the position error component, L , being the position error component normal to the direction of travel—the two taken together defining the position error at the starting point of the distinctive pipeline segment 22. Given that the time required to traverse the pipeline segment 22 is short enough, and that the error accumulation during the traversal of this segment 22 is small in comparison to the prior accumulation, the error between the indicated and true positions of the PIG may be characterized by the same two error parameters at all points along the segment. The error parameter, S, is determined by a correlation process that utilizes least-squares to establish the value of the parameter that minimizes the criterion function, J, defined by $\begin{matrix} {J = {\sum\limits_{i = 0}^{N}\left\lbrack {{\overset{\sim}{C}(s)} - {C(s)} - {\frac{\partial{C(s)}}{\partial s}S}} \right\rbrack^{2}}} & (29) \end{matrix}$

[0122] where ∂C/∂S is the partial derivative of the analytically derived curvature function, as defined by (27), and N is the number of GPS-surveyed points 18 in the pipeline segment 22. Taking the partial derivative of the criterion function with respect to the position error parameter, S, results in $\frac{\partial J}{\partial S} = {{2{\sum\limits_{i = 0}^{N}{\left\lbrack {{\overset{\sim}{C}(s)} - {C(s)} - {\frac{\partial{C(s)}}{\partial s}S}} \right\rbrack \frac{\partial{C(s)}}{\partial s}}}} = 0}$

[0123] which leads to the optimizing value of S given by $\begin{matrix} {S = \frac{\sum\limits_{i = 0}^{N}\quad {\left\lbrack {{\overset{\sim}{C}(s)} - {C(s)}} \right\rbrack \frac{\partial{C(s)}}{\partial s}}}{\sum\limits_{i = 0}^{N}\quad \left\lbrack \frac{\partial{C(s)}}{\partial s} \right\rbrack^{2}}} & (30) \end{matrix}$

[0124] It is also possible to base the determination of S on a comparison of heading angle changes as determined from the GPS survey data and that indicated by the inertial system. The analogous criterion function is as follows $\begin{matrix} {J = {\sum\limits_{i = 0}^{N}\quad \left\lbrack {{\overset{\sim}{\psi}(s)} - {\psi (s)} - {\frac{\partial{\psi (s)}}{\partial s}S}} \right\rbrack^{2}}} & (31) \end{matrix}$

[0125] where {tilde over (ψ)}(s) is the pipeline heading angle as determined by the inertial navigation system, and ψ(s) is the same angle determined from the series of GPS-derived pipeline coordinates. The optimizing value of S is found from the condition $\frac{\partial J}{\partial S} = {{2{\sum\limits_{i = 0}^{N}\quad {\left\lbrack {{\overset{\sim}{\psi}(s)} - {\psi (s)} - {\frac{\partial{\psi (s)}}{\partial s}S}} \right\rbrack \frac{\partial{\psi (s)}}{\partial s}}}} = 0}$

[0126] which leads to the following expression for S $\begin{matrix} {S = \frac{\sum\limits_{i = 0}^{N}\quad {\left\lbrack {{\overset{\sim}{\psi}(s)} - {\psi (s)}} \right\rbrack \frac{\partial{\psi (s)}}{\partial s}}}{\sum\limits_{i = 0}^{N}\quad \left\lbrack \frac{\partial{\psi (s)}}{\partial s} \right\rbrack^{2}}} & (32) \end{matrix}$

[0127] Once having determined the optimizing values of S the inertial system position coordinates are adjusted by means of the following equations, in which {tilde over (x)}_(i) and {tilde over (y)}_(i) are the north and east position coordinates at the i^(th) point on the distinctive pipeline segment

{tilde over (x)} _(i) ={tilde over (x)} _(i) −S cos ψ_(i) cos θ_(i)  (33)

{tilde over (y)} _(i) ={tilde over (y)} _(i) −S sin ψ_(i) cos θ_(i)  (34)

[0128] Coordinates {tilde over (x)}and {tilde over (y)}_(i) are determined from numerical integration as follows: $\begin{matrix} {x_{i} = {x_{0} + {\sum\limits_{j = 1}^{M}\quad {\Delta \quad {s({jT})}\cos \quad {\psi ({jT})}\cos \quad {\theta ({jT})}}}}} & (35) \\ {y_{i} = {y_{0} + {\sum\limits_{j = 1}^{M}\quad {\Delta \quad {s({jT})}\sin \quad {\psi ({jT})}\cos \quad {\theta ({jT})}}}}} & (36) \end{matrix}$

[0129] in which θ and ψ are the PIG pitch and heading angle, respectively, as derived from the inertial navigation solution 34; Δs is the incremental distance traveled, as measured by the odometer 40; T is the computational iteration interval (on the order of {fraction (1/50)} sec); j is the iteration designator; and M is the number of iterations which occur in reaching the i^(th) point on the distinctive pipeline segment 22.

[0130] From (35) and (36) it is clear that, if the errors in the inertially derived pitch and heading angle, and the error in the odometer-derived incremental distance measurements are small, the accumulation of position error over the integration period associated with the distinctive pipeline segment 22 will be small in comparison to the errors in the initial north and east position coordinates, x₀ and y₀. Therefore, as a good approximation, the north and east position errors at all points along the distinctive pipeline segment 22 can be taken to be the same as those at the start point 24 (that is, {tilde over (x)}_(k)−x_(k)={tilde over (x)}₀−x₀ and {tilde over (y)}_(k)−y_(k)={tilde over (y)}₀−y₀). Also, because the position errors in the direction along the pipeline 12 have been accounted for at this point in the correlation process, via (33) and (34), the common error at all points along the pipeline segment 22 will be in a direction normal to the pipeline 12 at the start of the distinctive pipeline segment 24. The component of position error, L, normal to the pipeline 12 at the start point 24 is found by defining a suitable criterion function to be minimized. The criterion function is chosen as the sum of squares of the differences between the indicated and GPS-derived positions, as measured in the direction defined by the normal to pipeline 12 at the start point 24. In this step, the position errors are ascribed to the single error parameter, L, which is the position error in a direction normal to the direction of travel at the start point 24 of the correlation process, after the adjustment inherent in (33) and (34). The criterion function is defined by $\begin{matrix} {J = {\sum\limits_{i = 0}^{N}\quad \left\lbrack {\left( {{\overset{\sim}{x}}_{i} - x_{i} - {La}_{0}} \right)^{2} + \left( {{\overset{\sim}{y}}_{i} - y_{i} - {Lb}_{0}} \right)^{2}} \right.}} & (37) \end{matrix}$

[0131] where a₀ and b₀ are the direction cosines of the normal to the pipeline 12 at the first point in the pipeline distinctive-feature segment 22 where the angle β is the heading angle of the normal to the trajectory, a₀ and b₀ are explicitly defined by

a ₀=cos β₀  (38)

b ₀=sin β₀  (39)

[0132] β is related to the heading angle of the unit vector along the direction of travel by

sin β=sin(ψ+π/2)=cos ψ  (40)

cos β=cos(ψ+π/2)=−sin ψ  (41)

[0133] in which v is defined by (22). The optimizing value of the normal component of the position error parameter, L, is found by taking the partial derivative of the criterion function with respect to this parameter, and then setting to zero yields $\frac{\partial J}{\partial L} = {{2{\sum\limits_{i = 0}^{N}\quad \left\lbrack {{\left( {{\overset{\sim}{x}}_{i} - x_{i} - {La}_{0}} \right)a_{0}} + {\left( {{\overset{\sim}{y}}_{i} - y_{i} - {Lb}_{0}} \right)b_{0}}} \right\rbrack}} = 0}$

[0134] which then leads to the value of L given by $\begin{matrix} {L = {\frac{1}{N}{\sum\limits_{i = 0}^{N}\quad \left\lbrack {{\left( {{\overset{\sim}{x}}_{i} - x_{i}} \right)a_{0}} + {\left( {{\overset{\sim}{y}}_{i} - y_{i}} \right)b_{0}}} \right.}}} & (42) \end{matrix}$

[0135] The two-step correlation procedure may be iterated a second time to essentially eliminate nonlinear effects associated with large position errors. Having done this, and thus having arrived at the optimal values of the two position error parameters S and L, the north and east position error components of the N^(th) point on the indicated trajectory can be found using the following relationships

δR _(x)(N)=S cos ψ_(N) −L sin ψ₀  (43)

δR _(y)(N)=S sin ψ_(N) +L cos ψ₀  (44)

[0136] where

[0137] δR_(x),(N), δR_(y)(N)=position error estimates (north, east) at the last (N^(th)) point on the pipeline segment

[0138] ψ₀=heading angle of the pipeline at the start point on the pipeline segment

[0139] ψ_(N)=heading angle of the pipeline at the end (N^(th)) point on the pipeline segment

[0140] The Kalman Filter 32 utilizes both position error measurements defined by (43) and (44) to update the inertial navigation solution 34, as illustrated in FIG. 3 to provide the navigation solution 34 with accurate values to determine the best determination of attitude, velocity and position.

[0141] The invention has been described herein in detail in order to comply with the Patent Statutes and to provide those skilled in the art with the information needed to apply the novel principles and to construct and use such specialized processes and components as are required. However, it is to be understood that the invention can be carried out by specifically different processes and components, and that various modifications, both as to the processing details and operating procedures, can be accomplished without departing from the scope of the invention itself. 

1. A pipeline surveying system, comprising: a pipeline pig; an inertial measurement unit located in the pig; means for calculating pig attitude, velocity, and position data based on outputs from the inertial measurement unit; means for determining pipeline characteristic data based on output from the inertial measurement unit; file storing reference pipeline characteristic data; means for correlating determined pipeline characteristic data with reference pipeline characteristic data; and a filter for providing corrected pig attitude, velocity, and position data.
 2. The system of claim 1 wherein the inertial measurement unit, comprises: a triad of gyros outputting a sequence of incremental attitude data; and a triad of accelerometers outputting a sequence of velocity data.
 3. The system of claim 1, further comprising an odometer that yields incremental distance traveled along the pipeline over a period of time and aids in correlating the determined pipeline characteristic data with the reference pipeline characteristic data.
 4. A pipeline surveying system, comprising: a carrier means adapted for traveling through a pipeline; an inertial system mounted within the carrier means for measuring dynamic characteristics of the carrier means within the pipeline and generating first signals representative of the characteristics; sensor means mounted within the carrier means for measuring incremental distances traveled by the carrier means along the pipeline over intervals of time and aids in correlation of first and second signals; and recorder means mounted within the carrier means for storing second signals, previously determined, for subsequent retrieval, whereby upon retrieval the first and second signals are correlated to yield accurate pig position along the pipeline.
 5. The system of claim 4 wherein the inertial system, comprises: a triad of gyros outputting signals representative of a sequence of incremental attitude data; and a triad of accelerometers outputting signals representative of a sequence of velocity data.
 6. The system of claim 4, further comprising a Kalman filter producing optimal corrections to the first signals.
 7. The system of claim 4 wherein the sensor means is an odometer that aids in correlating the first and second signals.
 8. A method for surveying a pipeline, comprising the steps of: measuring and computing a profile of a pipeline; correlating the measured profile of the pipeline with a reference profile of the pipeline; and correcting pig position based on the correlation of the measured profile and the reference profile.
 9. A method for surveying a pipeline, comprising the steps of: determining first reference pipeline characteristics from a pig running through the pipeline; determining second reference pipeline characteristics from a GPS survey of the pipeline profile; measuring pipeline characteristics; correlating the reference characteristics with the measured pipeline characteristics over distinctive pipeline segments to provide position fixes during survey of the entire pipeline.
 10. The method of claim 9 wherein the measured and reference characteristics are curvature of the distinctive pipeline segment.
 11. The method of claim 9 wherein the measured and reference characteristics are a heading change of the distinctive pipeline segment. 